<style>
#offer_ask_td{
border: none;
text-align: left;
}
</style>

<tr>
  <th width="110px">Identifiant :</th>
  <td><?php echo $member->getUsername() ?></td>
</tr>
<tr>
  <th>Photo :</th>
  <td><?php echo image_tag($member->getPictureURI(),array('height'=>'128px')) ?></td>
</tr>
<tr>
  <th>Nom :</th>
  <td><?php echo $member->getLastname() ?></td>
</tr>
<tr>
  <th>Prénom :</th>
  <td><?php echo $member->getFirstname() ?></td>
</tr>
<tr>
  <th>Adresse :</th>
  <td><?php echo $member->getStreet() . '<br />' .$member->getStreet2() . '<br />' . $member->getZipcode() . ' ' . $member->getCity() ?></td>
</tr>
<tr>
  <th>Email :</th>
  <td><?php echo mail_to($member->getEmail()) ?></td>
</tr>
<tr>
  <th>Site Internet :</th>
  <td><?php echo '<a href="' . $member->getWebsite() . '">' . $member->getWebsite() . '</a>' ?></td>
</tr>
<tr>
  <th>Téléphone fixe :</th>
  <td><?php echo format_phonenumber($member->getPhoneHome()) ?></td>
</tr>
<tr>
  <th>Téléphone portable :</th>
  <td><?php echo format_phonenumber($member->getPhoneMobile()) ?></td>
</tr>
<tr>
  <th>Demandes :</th>
  <td><?php if(count($userAsks) > 0): ?>
  <table class="datalist">
    <tbody>
    <?php foreach($userAsks as $ask): ?>
      <tr>
        <td class="offer_ask_td"><?php echo $ask->getCategory()->getName(). ' : ' ?></td>
        <td class="offer_ask_td"><?php echo $ask->getName() ?></td>
      </tr>
      <?php endforeach ?>
    </tbody>
  </table>
  <?php else: ?> Aucune <?php endif ?></td>
</tr>
<tr>
  <th>Offres :</th>
  <td><?php if(count($userOffers) > 0): ?>
  <table class="datalist">
    <tbody>
    <?php foreach($userOffers as $offer): ?>
      <tr>
        <td class="offer_ask_td"><?php echo $offer->getCategory()->getName(). ' : ' ?></td>
        <td class="offer_ask_td"><?php echo $offer->getName() ?></td>
      </tr>
      <?php endforeach ?>
    </tbody>
  </table>
  <?php else: ?> Aucune <?php endif ?></td>
</tr>
<tr>
  <th>Solde :</th>
  <td><?php echo lets_member_money($member->getId()) ?></td>
</tr>
